package com.azure;

import com.azure.entity.User;
import com.azure.service.UserService;
import com.azure.converter.StringToUserPropertyEditor;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.io.IOException;

public class Test {

	public static void main(String[] args) throws IOException {

		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class);
//		UserService userService = (UserService) applicationContext.getBean("userService");
//		userService.test();
		Object azureFactoryBean = applicationContext.getBean("azureFactoryBean");
		System.out.println(azureFactoryBean);

	}
}
